package com.edu.neusoft.phone_sale.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.edu.neusoft.phone_sale.dto.ProductsDTO;
import com.edu.neusoft.phone_sale.entity.Products;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;


@Mapper
public interface ProductsMapper extends BaseMapper<Products> {

    List<ProductsDTO> selectByPage(@Param("pageNum") int pageNum, @Param("pageSize") int pageSize);

}

